package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 *
 * @author wanganning
 */
@Entity(tableName="ac_operate_log", split = "Date:createAt:m")
public class OperateLog {
    @Id
    @Column(name="log_id")
    private long logId;
    @Column(name="user_id")
    private long uid;
    @Column(name="operator_id")
    private long operatorId;
    @Column(name="create_at")
    private Date createAt;
    @Column(name="detail")
    private String detail;
    @Column(name="reason")
    private String reason;

    public static final String ADMIN_ASSIGNMENT = "会长变更:";
    public static final String MEMBER_EXPEL = "开除会员:";

    public long getLogId() {
        return logId;
    }

    public void setLogId(long logId) {
        this.logId = logId;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }


}
